package com.example.indenture.company.entity;

import com.example.indenture.common.entity.AbstractEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import lombok.Data;
import org.springframework.stereotype.Component;

import javax.persistence.*;
import javax.persistence.criteria.CriteriaBuilder;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Author: wyt
 * @Date: 2023/6/10 18:04
 **/
@Data
@Entity
@Table(name = "article")
@Component
public class Article extends AbstractEntity {
    private Integer cid;
    private Integer rid;
    private String title;
    private String content;
}
